package com.bootdo.task.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.bootdo.task.dao.TTaskDao;
import com.bootdo.task.domain.TTaskDO;
import com.bootdo.task.service.TTaskService;



@Service
public class TTaskServiceImpl implements TTaskService {
	@Autowired
	private TTaskDao tTaskDao;
	
	@Override
	public TTaskDO get(Integer taskId){
		return tTaskDao.get(taskId);
	}
	
	@Override
	public List<TTaskDO> list(Map<String, Object> map){
		return tTaskDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return tTaskDao.count(map);
	}
	
	@Override
	public int save(TTaskDO tTask){
		return tTaskDao.save(tTask);
	}
	
	@Override
	public int update(TTaskDO tTask){
		return tTaskDao.update(tTask);
	}
	
	@Override
	public int remove(Integer taskId){
		return tTaskDao.remove(taskId);
	}
	
	@Override
	public int batchRemove(Integer[] taskIds){
		return tTaskDao.batchRemove(taskIds);
	}

	@Override
	public TTaskDO getLastTask(Long UsrId) {
		// TODO Auto-generated method stub
		return tTaskDao.getLastTask(UsrId);
	}

	@Override
	public TTaskDO scutcheonIsuse(String scutcheon) {
		// TODO Auto-generated method stub
		return tTaskDao.scutcheonIsuse(scutcheon);
	}
	
}
